package com.eastedu.superise.handler.question.handler.answer;

/**
 * The interface Ascii converter.
 *
 * @author ZhenZhong
 */
public interface AsciiConverter {
    /**
     * The constant ANSWER_SEPARATOR.
     */
    char ANSWER_SEPARATOR = ',';

    /**
     * 转换为数字
     *
     * @param input the input
     * @return int
     */
    int convert(String input);

    /**
     * 用于获取转换器
     *
     * @param input the input
     * @return boolean
     */
    boolean isSupported(String input);

//    String getNotSupportedChar();
}
